/**
 * 
 */
package com.aibili.pojo;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 礼物信息表
 * 
 * @author qiuch
 */
@Entity
@Table(name = "t_gift_info")
public class GiftInfo implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -6563312708751022914L;

	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "id", length = 11, nullable = false)
	private long id;

	@Column(name = "gift_name")
	private String gift_name;

	@Column(name = "pic")
	private String pic;

	@Column(name = "point")
	private int point;// 消费点数

	@Column(name = "time")
	private int time;// 消费时长，0普通礼物， > 0消费时间（秒）

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getGift_name() {
		return gift_name;
	}

	public void setGift_name(String gift_name) {
		this.gift_name = gift_name;
	}

	public String getPic() {
		return pic;
	}

	public void setPic(String pic) {
		this.pic = pic;
	}

	public int getPoint() {
		return point;
	}

	public void setPoint(int point) {
		this.point = point;
	}

	public int getTime() {
		return time;
	}

	public void setTime(int time) {
		this.time = time;
	}

}
